/*
* Copyright (c) 2007 by Kirill Kolodyazhniy.
* See the file "license.terms" for information on usage and redistribution.
*/

#ifndef M_SPACE_H
#define M_SPACE_H

#include <string>

namespace Engine
{

	/**
	*   Spaces are used for space-partitioning to speed up collision detection.
	*/
	class Space
	{
	public:
		/**
		*   Constructor.
		*/
		Space(const std::string& name):m_name(name){}

		/**
		*   Destructor
		*/
		virtual ~Space(){};

		/**
		*   Return name.
		*/
		const std::string& GetName()const{return m_name;}

	private:
		std::string m_name;
	};
}

#endif
